<template>
	<view class="page-body">
		<view class="list-cell b-b " >
			<text class="cell-tit">举报类型：</text>
			<view class="color-94 fs30">
				{{info._report_type}}
			</view>
		</view>
		<view class="list-cell b-b " >
			<text class="cell-tit">被举报人：</text>
			<view class="color-94 fs30">
				{{info.report_real_name}}
			</view>
		</view>
		<view class="list-cell b-b block" >
			<text class="cell-tit">相关证据：</text>
			<view class="img_item" v-for="(pic, index) in info.imgs" :key="index">
				<image :src="config.baseUrl+pic" @click="app.showImg(config.baseUrl+pic)"></image>
			</view>
		</view>
		<view class="list-cell b-b block" >
			<text class="cell-tit">详细描述：</text>
			<view class="color-94">
				{{info.description}}
			</view>
		</view>
		<view class="list-cell b-b " >
			<text class="cell-tit">提交时间：</text>
			<view class="color-94 fs30">
				{{info._add_time}}
			</view>
		</view>
		<view class="list-cell b-b " >
			<text class="cell-tit">状态：</text>
			<view class="color-94 fs30">
				{{info._status}}
			</view>
		</view>
		<view v-if="info.status == 1" class="list-cell b-b block" >
			<text class="cell-tit">审核备注：</text>
			<view class="color-94">
				{{info.remark}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info: {},
			}
		},
		onLoad(options) {
			this.$u.post('channel/api.report/getInfo', {'log_id':options.log_id}).then(res => {
				this.info = res.data;
			})
		},
		onShow() {
		},
		onReady() {},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.img_item {
		image {
			flex-shrink: 0;
			width: 140rpx;
			height: 140rpx;
			border-radius: 4rpx;
			margin-right: 10rpx;
		}
	}
</style>
